import axios from 'axios';
// import Cookies from 'js-cookie';
import request from '@/utils/request.js'

// 查询
export const academicWorkList = (query) => {
  return request.get('/academicWork/academicWorkList', { params: query });
}

// 新增
export const addUser = (data) => {
  return request.post('/totalWork/addTotalWork', data);
}


// 修改
export const updateUser = (data) => {
  return request.put('/totalWork/editTotalWork', data);
}

// 删除
export const delUser = (userIds) => {
  return request.delete('/totalWork/deleteTotalWork', { data: userIds });
}
